package com.mew.common.dc.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mew.common.entity.events.Events;
import com.mew.common.entity.events.EventsDays;
import com.mew.common.entity.events.EventsPiggy;
import org.apache.ibatis.annotations.Param;
@DS("mew_core")
public interface EventsMapper extends BaseMapper<Events> {

    EventsPiggy getPiggy(@Param("userId")long userId);

    EventsDays getDays(@Param("userId")long userId);
}
